﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using GeoSketch2.Core;

namespace GeoSketch2.Archaeo
{
    public partial class TBBRuler : BaseToolbarButton
    {
        #region Constructor
        /// <summary>
        /// The toolbar button for the ruler tool
        /// </summary>
        public TBBRuler()
        {
            InitializeComponent();
            ToolTipText = "Ruler";
        } 
        #endregion

        #region Properties
        /// <summary>
        /// Gets the tool assigned to the button
        /// </summary>
        protected override BaseTool Tool
        {
            get
            {
                return new TRuler((Viewport)DisplayBox.Viewport);
            }
        } 
        #endregion
    }
}